import 'api_config.dart';

class NetworkConfig {
  static final hostUrl = ApiConfig.hostUrl;
  static final platFormHost = ApiConfig.platFormHost;
  static final isProd = ApiConfig.isProd;
  static final authKey = ApiConfig.authKey;
  // 首页接口
  static final Map<String, String> indexPageApi = {
    'getIndexBanner': hostUrl + 'index/getIndexBanner',
    'indexMenuClassList': hostUrl + 'index/indexMenuClass/list',
    'openClassList': hostUrl + 'index/openClass/list',
  };
  // 付费课详情页接口
  static final Map<String, String> paidCauserDetailApi = {
    'goodsDetail': hostUrl + 'course/goodsDetail',
  };
  static final Map<String, String> mineCoursePageApi = {
    // 'getList': 'https://m.yimg.vip/mock/5ce75f365537032718aafad6/SunLands/mineCourse#!method=get'
    // 'getList': 'https://m.yimg.vip/mock/5ce75f365537032718aafad6/SunLands/mineCourseT'
    'getList': 'http://172.18.70.102:8200/sunlands-app-api/course/courseList'
  };
   static final Map<String,dynamic> personalCenterPageApi = {
     'uploadImgUrl': 'http://172.18.13.5:8200/sunlands-app-api/login/uploadImgUrl',
//    'uploadImgUrl': 'https://m.yimg.vip/mock/5d1f1bb15537032718aafb05/sunlands-app-api/login/uploadImgUrl',
    'updateUserInformation': 'http://172.18.13.5:8200/sunlands-app-api/login/updateUserInformation'
  };
}
